# import os
#
# fds = dict()
#
#
# def folders_get(path, name, cnt):
#     i_path = os.path.join(path, name)
#     print(cnt)
#     if os.path.isdir(i_path):
#         for i in os.listdir(i_path):
#             folders_get(i_path, i, cnt+1)
#
#
# path = r'E:\file_share\test'
# for i in os.listdir(path):
#     if os.path.isdir(os.path.join(path, i)):
#         fds.update({path: {i: []}})
#     folders_get(path, i, 1)
# print(fds)
# print(len(os.listdir(path)))
